package com.example.demo1103.demo3;

public class Test {
    public static void main(String[] args) {
        NoOver noOver=()-> System.out.println("无参无返回值");
        OneOver oneOver=a-> System.out.println("有一个参数但没有返回值");
        OneOvers oneOvers=()->1;
        TwoOver twoOver=a -> 8;
    }
}
interface NoOver{
    void  show();
}
interface OneOver{
    void show(int t);
}
interface  OneOvers{
    int   show();
}
interface  TwoOver{
    int show(int a);
}
